package com.cdx.springcloud.service;

import com.cdx.springcloud.entity.Payment;
import org.apache.ibatis.annotations.Param;

/**
 * @author chedx
 * @data 2020/12/3 11:23 PM
 */
public interface PaymentService {

    /***
     * 创建
     * @param payment
     * @return
     */
    public int create(Payment payment);

    /***
     * 查询
     * @param id
     * @return
     */
    public Payment getPaymentById(@Param("id") Long id);

}
